package com.ticket.sass.admin.dto.input.operationlog;

import com.ticket.sass.admin.dto.input.PageInput;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author ywb
 * @date 2024-03-13 16:32
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class OperationLogListInput extends PageInput {
    @ApiModelProperty(value = "操作模块，程序内部定义枚举")
    private String[] modules;
    
    @ApiModelProperty(value = "操作描述")
    private String desc;
    
    @ApiModelProperty(value = "管理员ID")
    private List<Long> adminIds;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startDate;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endDate;
}
